# -*- coding: utf-8 -*-
import pymysql

"""文章类型：-1-企业，0-房产，1-互联网，3-10万+，4-金融，5-时尚，6-汽车，7-旅游，8-娱乐，2-热点"""

REQUEST_HOST = "https://helper.zooming-data.com/qywx-rest/"
APPID = "wx61f865ee15ef6563"
CROPID = "ww5da6447305627eb1"
ENTERPRISEID = "91"
CLIENTID = "796"
CLIENTNAME = "猪大帅 | AW大师"
AGENTID = "950"

# 数据库配置
MYSQL_HOST = "111.230.195.67"
MYSQL_DBNAME = "aw_sit_90"
MYSQL_USER = "awmaster"
MYSQL_PASSWORD = "Ju9LdiB4TfDXarqJ"
MYSQL_PORT = 3309

# 数据连接
connect = pymysql.connect(
    host=MYSQL_HOST,
    db=MYSQL_DBNAME,
    user=MYSQL_USER,
    passwd=MYSQL_PASSWORD,
    port=MYSQL_PORT,
    charset='utf8',
    use_unicode=True)
cursor = connect.cursor()

# 代理IP配置
dby_url = "http://httpbapi.dobel.cn/User/getIp"
account = "RHXBLZt22IQIaj4o"
accountKey = "4Hx0K2BijU3o"
num = "1"
city = "all"

# 其他
agentId = AGENTID
source = 0



